using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Enemy_Skeleton : Enemy
{
    #region
    public SkeletonIdleState IdleState { get; private set; }
    public SkeletonMoveState MoveState { get; private set; }
    public SkeletonBattleState BattleState { get; private set; }
    public SkeletonAttackState AttackState { get; private set; }

    #endregion
    protected override void Awake()
    {
        base.Awake();
        IdleState = new SkeletonIdleState(this, stateMachine, this, "Idle");
        MoveState = new SkeletonMoveState(this, stateMachine, this, "Move");
        BattleState = new SkeletonBattleState(this, stateMachine, this, "Move");
        AttackState = new SkeletonAttackState(this, stateMachine, this, "Attack");
    }

    protected override void Start()
    {
        base.Start();
        stateMachine.initialize(IdleState);
    }

    protected override void Update()
    {
        base.Update();
        
    }
    
}
